package innerFunction;
import java.util.function.Function;

public class FunctionTest {
	public static void main(String[] args) {
		Function<String , String[]> fun = "123-456-789"::split;
		String[] funs = fun.apply("-");
		for (String string : funs) {
			System.out.println(string);
		}
	}
	
}
